package com.example.goods_service.vo;


import org.springframework.stereotype.Component;

import java.sql.Timestamp;

@Component
public class TCommodityAllocation {

  private long id;
  private String commodity_id;
  private String attribute;
  private double price;
  private long stock;
  private java.sql.Timestamp update_Time;


  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }

  public String getCommodity_id() {
    return commodity_id;
  }

  public void setCommodity_id(String commodity_id) {
    this.commodity_id = commodity_id;
  }

  public Timestamp getUpdate_Time() {
    return update_Time;
  }

  public void setUpdate_Time(Timestamp update_Time) {
    this.update_Time = update_Time;
  }

  public String getAttribute() {
    return attribute;
  }

  public void setAttribute(String attribute) {
    this.attribute = attribute;
  }


  public double getPrice() {
    return price;
  }

  public void setPrice(double price) {
    this.price = price;
  }


  public long getStock() {
    return stock;
  }

  public void setStock(long stock) {
    this.stock = stock;
  }



}
